package com.summer_administration.service;

import com.summer_administration.pojo.Income;
import com.summer_administration.pojo.PageBean;

public interface IncomeService {
    //新增文章
    void add(Income income);

    //条件分页列表查询
    PageBean<Income> list(Integer pageNum, Integer pageSize,String method);

    //更新文章
    void update(Income article);

    //删除文章
    void delete(Integer id);

    String getGroupIdByGroupName(String groupName);
}
